<nz-modal [(nzVisible)]="isVisible" nzTitle="新增银行卡"  [nzOkLoading]="isOkLoading"  (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()">

  <form class="form-horizontal" [formGroup]="formModel">
    <nz-form-item>
      <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="type " nzRequired>类型
      </nz-form-label>
      <nz-form-control [nzSm]="14" [nzXs]="24" nzErrorTip="请选择绑卡类型!">
        <nz-radio-group formControlName="type" >
          <label nz-radio nzValue="1" *ngIf="cardNoType == 1 || cardNoType == null">绑定私卡 </label>
          <label nz-radio nzValue="2" *ngIf="cardNoType == 2 || cardNoType == null">绑定公卡 </label>
        </nz-radio-group>
      </nz-form-control>
    </nz-form-item>

    <nz-form-item >
      <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="bankName" nzRequired>开户银行</nz-form-label>
      <nz-form-control [nzSm]="14" [nzXs]="24" nzErrorTip="请输入开户银行!">
        <input nz-input formControlName="bankName" placeholder="开户银行"  />
      </nz-form-control>
    </nz-form-item>

    <nz-form-item >
      <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="branchName" nzRequired>开户支行</nz-form-label>
      <nz-form-control [nzSm]="14" [nzXs]="24" nzErrorTip="请输入开户支行!">
        <input nz-input formControlName="branchName" placeholder="开户支行"  />
      </nz-form-control>
    </nz-form-item>

    <nz-form-item >
      <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="bankCardNo" nzRequired>银行账号</nz-form-label>
      <nz-form-control [nzSm]="14" [nzXs]="24" nzErrorTip="请输入银行账号!">
        <input nz-input formControlName="bankCardNo" placeholder="银行账号"  />
      </nz-form-control>
    </nz-form-item>

    <nz-form-item >
      <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="bankCertName" nzRequired>开户名称</nz-form-label>
      <nz-form-control [nzSm]="14" [nzXs]="24" nzErrorTip="请输入开户名称!">
        <input nz-input formControlName="bankCertName" placeholder="开户名称" />
      </nz-form-control>
    </nz-form-item>

<!--    <nz-form-item nz-row class="register-area">-->
<!--      <nz-form-control [nzSpan]="14" [nzOffset]="8">-->
<!--        <button nz-button nzType="primary" (click)="submit()">提交</button>-->
<!--        <button nz-button nzType="default" (click)="handleCancel()">关闭</button>-->
<!--      </nz-form-control>-->
<!--    </nz-form-item>-->
  </form>
</nz-modal>
